// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//import './assets/js/phone'
import './assets/css/base.css'
//引入vant库
import './plugins/vant'
import axios from 'axios';
import { VueJsonp } from 'vue-jsonp'

Vue.config.productionTip = false

// import echarts from 'echarts'
// Vue.prototype.$echarts = echarts

import echarts from './plugins/echarts'
Vue.use(echarts)

//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper)

Vue.use(VueJsonp)

Vue.prototype.$axios = axios;

//中央系统
import Bus from './utils/event-bus.js'
Vue.prototype.$bus = Bus;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})